package com.cf.controller;

import com.cf.limit.core.RequestLimit;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.UUID;

/**
 * boot-limit-LimitTestController
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/7/12 上午 09:17
 */
@RestController
public class LimitTestController {

    @RequestLimit()
    @RequestMapping("/limit")
    public String limit() {
        return UUID.randomUUID().toString();
    }

}
